home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / yhe.xml < prev    next >
Text File  |  2002-09-27  |  2KB  |  53 lines

  1. <search function="yhe">
  2.   <name>Yahoo Email</name>
  3.   <description>Search for email addresses by name
  4.   <div class="helpboxDescLabels">Example:</div> 
  5.   <table class="helpboxDescTable">
  6.     <tr>
  7.       <td>yhe Roger Weber</td>
  8.   </tr>
  9.   </table>
  10.   </description>
  11.   <category>People and Places</category>
  12.   <link>http://email.people.yahoo.com/</link>
  13.   <form name="yhef"
  14.         action="http://email.people.yahoo.com/py/psSearch.py"
  15.         method="get">
  16.     <input type="hidden" name="FirstName"/>
  17.     <input type="hidden" name="LastName"/>
  18.     <input type="hidden" name="City"/>
  19.     <input type="hidden" name="State"/>
  20.     <input type="hidden" name="Domain"/>
  21.     <input type="hidden" name="OldEmail"/>
  22.     <input type="hidden" name="SmartName"/>
  23.     <input type="hidden" name="OrgName"/>
  24.     <input type="hidden" name="OrgType" value="n"/>
  25.     <input type="hidden" name="OrgYrS" value=""/>
  26.     <input type="hidden" name="OrgYrF" value=""/>
  27.     <input type="hidden" name="srch" value="adv"/>
  28.   </form>
  29.   <script><![CDATA[
  30.   function yhe(q)
  31.   {
  32.     res = q.match(/(((\w+\s+)?\w+)\s+)?(\w+)(\s*\(((([^,]+),?\s+)?(\w\w)|((\w+.)+(com|net|org|edu|gov|mil|\w{2})))\))?/);
  33.     if (!res)
  34.       openSearchWindow("http://people.yahoo.com/");
  35.     else
  36.     {
  37.       document.yhef.FirstName.value=(res[2] ? res[2] : "");
  38.       document.yhef.LastName.value=(res[4] ? res[4] : "");
  39.       document.yhef.City.value=(res[8] ? res[8] : "");
  40.       document.yhef.State.value=(res[9] ? res[9].toUpperCase() : "");
  41.       document.yhef.Domain.value=(res[10] ? res[10].toLowerCase() : "");
  42.       submitForm(yhef);
  43.     }
  44.   }
  45.   ]]></script>
  46.  
  47.   <copyright>
  48.     Copyright (c) 2002 David Bau
  49.     Distributed under the terms of the
  50.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  51.   </copyright>
  52. </search>   
  53.